/*
 * Copyright (C) 2015 MC
 * All rights reserved.
 *
 * $$File: $$
 * $$DateTime: $$
 * $$Author: $$
 * $$Revision: $$
 */

package com.glela.api.upload.util;

/**
 * @author 
 */
public class ImageProperties
{
	/**
	 * 文件大小
	 */
	public long fsize;
	/**
	 * 上传数据保存的文件名
	 */
	public String key;
	/**
	 * 文件名 hash值
	 */
	public String hash;
	/**
	 * 上传图片的宽
	 */
	public String width;
	/**
	 * 上传图片的高
	 */
	public String height;

	/**
	 * 上传的原始文件名
	 */
	public String fname;

	/**
	 * 上传的文件类型
	 */
	public String mimeType;

	/**
	 * qiuniu的视频截图或者图片路径
	 */
	public String imagePath;

	/**
	 * @return the fname
	 */
	public String getFname()
	{
		return fname;
	}

	/**
	 * @return the fsize
	 */
	public long getFsize()
	{
		return fsize;
	}

	/**
	 * @return the hash
	 */
	public String getHash()
	{
		return hash;
	}

	/**
	 * @return the height
	 */
	public String getHeight()
	{
		return height;
	}

	/**
	 * @return the imagePath
	 */
	public String getImagePath()
	{
		return imagePath;
	}

	/**
	 * @return the key
	 */
	public String getKey()
	{
		return key;
	}

	/**
	 * @return the mimeType
	 */
	public String getMimeType()
	{
		return mimeType;
	}

	/**
	 * @return the width
	 */
	public String getWidth()
	{
		return width;
	}

	/**
	 * @param fname
	 *            the fname to set
	 */
	public void setFname(String fname)
	{
		this.fname = fname;
	}

	/**
	 * @param fsize
	 *            the fsize to set
	 */
	public void setFsize(long fsize)
	{
		this.fsize = fsize;
	}

	/**
	 * @param hash
	 *            the hash to set
	 */
	public void setHash(String hash)
	{
		this.hash = hash;
	}

	/**
	 * @param height
	 *            the height to set
	 */
	public void setHeight(String height)
	{
		this.height = height;
	}

	/**
	 * @param imagePath
	 *            the imagePath to set
	 */
	public void setImagePath(String imagePath)
	{
		this.imagePath = imagePath;
	}

	/**
	 * @param key
	 *            the key to set
	 */
	public void setKey(String key)
	{
		this.key = key;
	}

	/**
	 * @param mimeType
	 *            the mimeType to set
	 */
	public void setMimeType(String mimeType)
	{
		this.mimeType = mimeType;
	}

	/**
	 * @param width
	 *            the width to set
	 */
	public void setWidth(String width)
	{
		this.width = width;
	}

}
